ComponentOne Xamarin Edition
CanSort<T>(ICollectionView<T>,SortDescription[]) Method
C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > CanSort Method : CanSort<T>(ICollectionView<T>,SortDescription[]) Method
The collection view.
The sort descriptions that determine how the data would be sort.
Returns true if the collection view supports sorting.
Syntax
[Extension()]
public static bool CanSort<T>( 
   ICollectionView<T> collectionView,
   params SortDescription[] sortDescriptions
)
where T: class

Parameters

collectionView
The collection view.
sortDescriptions
The sort descriptions that determine how the data would be sort.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List